import SvgIcon from "./SvgIcon/index.vue";
import Pagination from "./Pagination/index.vue";

// 定义一个install方法
const components: any = { SvgIcon, Pagination };

// 对外暴露组件
export default {
  install(app: any) {
    Object.keys(components).forEach((key: any) => {
      app.component(key, components[key]);
    });
  },
};
